package com.xjscrm.console.mapper;

import com.xjscrm.common.entity.MerchatChildDevceRelation;
import com.xjscrm.console.param.user.MerchatChildDevceRelationQuery;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MerchatChildDevceRelationMapper {

    int addMerchatChildDevceRelation(MerchatChildDevceRelation merchatChildDevceRelation);


    List<MerchatChildDevceRelation> getmerchatChildDevceRelation(MerchatChildDevceRelationQuery merchatChildDevceRelationQuery);

    void deleById(@Param("id") Long id, @Param("merId") Long merId);

}
